//
//  FindCar.h
//  JiongTu
//
//  Created by Dupengfei on 16/3/25.
//  Copyright © 2016年 YSKJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVUser.h>

@class JTPassengerTrip;

@interface FindCar : NSObject

-(void)saveInCloud:(NSString *)objectId start:(NSString *)startLocation end:(NSString *)endLocation number:(NSNumber *)number time:(NSString *)time remark:(NSString *)mark current:(AVUser *)currentUser;

-(void)otherSaveInCloud:(NSString *)objectId start:(NSString *)startLocation end:(NSString *)endLocation number:(NSNumber *)number time:(NSString *)time remark:(NSString *)mark current:(AVUser *)currentUser;

/**
 *  乘客发布订单
 */
+ (void)passenger:(AVObject *)object find:(JTPassengerTrip *)trip;
/**
 *  乘客同址再找
 */
+ (void)passenger:(AVObject *)object find:(JTPassengerTrip *)trip same:(JTPassengerTrip *)sameTrip;
/**
 *  乘客第一次发布订单
 */
+ (void)firstFind:(JTPassengerTrip *)trip;

@end
